JSON Object implementation
authorSashi Penta <sashi.kumar.penta@intel.com>
Fri, 19 Sep 2014 07:06:05 +0000 (00:06 -0700)
committerSashi Penta <sashi.kumar.penta@intel.com>
Tue, 23 Sep 2014 03:57:41 +0000 (20:57 -0700)
commite2d4a502404ae52b4d5ee7b690364fc43c9949c6
tree1fcd0a46ed3a0d6e2bdd26e1b5418ab21a84867d
parente336d578323949fb3491a040acc706b2a3b669b1
JSON Object implementation

1. Support for JSON object in OCRepresentation.
2. Code refactor for JSON composition in various parts of the stack into one place (OCRepresenation).
3. Similar code refactoring for JSON parsing needs to be done. I will revisit when we look into
   JSON parse library alternatives.
4. Implemented correct JSON composition. Earlier we were returning strings for all the json types.
   Now strings are only used for string types and JSON objects.
5. garageserver.cpp and garageclient.cpp examples to explain the user of JSON object with in
   the representation.

Change-Id: I9461db811c7b5e3b827d5704cde489aa2005e291
examples/garageclient.cpp [new file with mode: 0644]
examples/garageserver.cpp [new file with mode: 0644]
examples/makefile
examples/simpleserver.cpp
include/OCApi.h
include/OCResourceResponse.h
src/InProcClientWrapper.cpp
src/OCUtilities.cpp