Commit Graph

4 Commits

Author SHA1 Message Date
Paweł Dziepak
19d4cd7449 json: do not add a newline at the end of string
Signed-off-by: Paweł Dziepak <pdziepak@cloudius-systems.com>
2015-07-10 01:29:23 +02:00
Paweł Dziepak
da52b5d5da json: explicitly set Json::Value type to objectValue
Proper Json::Value type would be set implicityl after the first map
element is added. That's not going when the map is empty.

Signed-off-by: Paweł Dziepak <pdziepak@cloudius-systems.com>
2015-07-10 01:29:23 +02:00
Paweł Dziepak
8565a22d33 json: fix (de)serialization of map
Signed-off-by: Paweł Dziepak <pdziepak@cloudius-systems.com>
2015-06-30 17:59:42 +02:00
Pekka Enberg
673c0c1759 JSON parsing and formatting helper functions
There's various places in Origin where we convert a Map to a JSON string
and vice versa.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-06-11 13:02:42 +03:00