jsonBeginObject

Begins a new object within a JSON array. Takes json string. Returns modified json via ReturnString.

JSON

Parameters & Returns

Parameters

json String

Returns

String

Quick Summary

Begins a new object within a JSON array. Takes json string. Returns modified json via ReturnString.

Technical Exegesis...

Begins a new object within a JSON array. Takes json string. Calls NeedsComma to check if comma needed (for multiple objects in array). If comma needed, appends ",". Appends "{". Returns modified json via ReturnString.

This function starts object element inside array. NeedsComma adds comma between multiple array objects. Format creates object literal: {...}. Use inside jsonBeginArrayField/jsonEndArrayField for object arrays. Must be paired with jsonEndObject.

Example

Example.bam
; No example implemented yet