diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2017-06-19 13:54:59 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2017-06-21 14:20:53 -0400 |
commit | 0ad8a66ea67a5bd8c4a7c3d0ac606a07f4ff73ea (patch) | |
tree | 39f5e37279a3a8fdc2ff52e73ce7a815bd08c1d5 /src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt | |
parent | 0fdd32f58dbedf7e175d5ab8b3e04b4edd3d9526 (diff) | |
parent | 22a014b3746b28d2b8a3a4049c60bb76db6a0861 (diff) | |
download | sdl_core-0ad8a66ea67a5bd8c4a7c3d0ac606a07f4ff73ea.tar.gz |
Merge branch 'develop'
Diffstat (limited to 'src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt')
-rw-r--r-- | src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt b/src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt new file mode 100644 index 0000000000..9854b88d5f --- /dev/null +++ b/src/components/policy/policy_external/doc/doxygen/components/JSONHandler/Formatters/index.txt @@ -0,0 +1,9 @@ +/*! \page components_jsonhandler_formatters Smart Objects Formatters + +In order to create JSON string representation from Smart Object or create Smart Object data structure from JSON string representation JSON Handler component has special classes called formatters. + +The interface of formatter is quite simple and defined by NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonBase class. Actually it has two methods - NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonBase::objToJsonValue to convert JSON string to object and NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonBase::jsonValueToObj to create JSON string from object. + +Current implementation has two different implementations of NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonBase class: NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonALRPCv1 for ALRPC.v1 and NsSmartDeviceLink::NsJSONHandler::Formatters::CFormatterJsonALRPCv2 for ALRPC.v2. These implementations handle specifics of each format. + +*/ |