JSONWriter.WriteStartArray

Syntax:

WriteStartArray()

Description:

Records the beginning of JSON array.

Availability:

Thin client, server, thick client, external connection.

Example:

JSONWriter = New JSONWriter;
// Writing the JSON document
JSONWriter.WriteStartArray();

JSONWriter.WriteValue("String value");

JSONWriter.WriteValue(123);

JSONWriter.WriteStartObject();
JSONWriter.WritePropertyName("Boolean");
JSONWriter.WriteValue(True);
JSONWriter.WriteEndObject();

JSONWriter.WriteEndArray();


    

1C:Enterprise Developer's Community