jsonBeginArrayField

Begins a JSON array field with the specified key. Takes json string and key string. Returns modified json via ReturnString.

JSON

Parameters & Returns

Parameters

json String
key String

Returns

String

Quick Summary

Begins a JSON array field with the specified key. Takes json string and key string. Returns modified json via ReturnString.

Technical Exegesis...

Begins a JSON array field with the specified key. Takes json string and key string. Calls NeedsComma to check if comma needed. If comma needed, appends ",". Appends "\"key\":[" format. Returns modified json via ReturnString.

This function starts array field in JSON object. NeedsComma helper prevents syntax errors. Format is JSON standard: "key":[. Opening bracket indicates array start. Use for array properties in JSON documents. Must be paired with jsonEndArrayField to close array.

Example

Example.bam
; No example implemented yet