ClassesClassesClassesClasses | | | | Operators

json_set_tuplejson_set_tupleJsonSetTuplejson_set_tupleJsonSetTupleJsonSetTuple (Operator)

Name

json_set_tuplejson_set_tupleJsonSetTuplejson_set_tupleJsonSetTupleJsonSetTuple — Sets a tuple in a JSON object or JSON array.

Signature

json_set_tuple( : : Json, Key, Tuple : JsonOut)

Herror json_set_tuple(const char* Json, const char* Key, const char* Tuple, char* JsonOut)

Herror T_json_set_tuple(const Htuple Json, const Htuple Key, const Htuple Tuple, Htuple* JsonOut)

Herror json_set_tuple(const HTuple& Json, const HTuple& Key, const HTuple& Tuple, char* JsonOut)

void JsonSetTuple(const HTuple& Json, const HTuple& Key, const HTuple& Tuple, HTuple* JsonOut)

void HJsonX.JsonSetTuple(
[in] VARIANT Json, [in] VARIANT Key, [in] VARIANT Tuple, [out] VARIANT* JsonOut)

static void HJson.JsonSetTuple(HTuple json, HTuple key, HTuple tuple, out HTuple jsonOut)

Description

json_set_jsonjson_set_jsonJsonSetJsonjson_set_jsonJsonSetJsonJsonSetJson sets a tuple in a JSON object or JSON array.

Find more information about the JSON extension package in the introduction to this chapter.

Parallelization

Parameters

JsonJsonJsonJsonJsonjson (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

JSON string

KeyKeyKeyKeyKeykey (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string / integer) (string / int / long) (HString / Hlong) (char* / Hlong) (BSTR / Hlong) (char* / Hlong)

key or zero-based index

TupleTupleTupleTupleTupletuple (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Tuple of numbers and/or strings

JsonOutJsonOutJsonOutJsonOutJsonOutjsonOut (output_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

JSON object or array

Module

Foundation


ClassesClassesClassesClasses | | | | Operators