Begins an object as the value of a named field.
Takes json string and key string.
Returns modified json via ReturnString.
JSON
Parameters & Returns
Parameters
jsonString
keyString
Returns
String
Quick Summary
Begins an object as the value of a named field.
Takes json string and key string.
Returns modified json via ReturnString.
Technical Exegesis...
Begins an object as the value of a named field. Takes json string and key string. Adds a comma first if one is needed, then appends "key":{ . Returns the modified json.
This is how a field holds a whole object, such as "address": {"city": "New York", "country": "USA"}. Between this and jsonEndObject, add the object's fields with jsonWriteInt/Double/String; objects and arrays can be nested inside it the same way. Close it with jsonEndObject.
Begins an object as the value of a named field. Takes json string and key string. Adds a comma first if one is needed, then appends "key":{ . Returns the modified json.
This is how a field holds a whole object, such as "address": {"city": "New York", "country": "USA"}. Between this and jsonEndObject, add the object's fields with jsonWriteInt/Double/String; objects and arrays can be nested inside it the same way. Close it with jsonEndObject. (jsonBeginObject, with no key, is for objects that are elements of an array.) Read a nested field back with jsonReadInt/Double/String and its key: the key is searched for anywhere in the text, so give fields in different nested objects different names if you need to read them back separately.