ClassesClassesClassesClasses | | | | Operators

json_set_jsonjson_set_jsonJsonSetJsonjson_set_jsonJsonSetJsonJsonSetJson (Operator)

Name

json_set_jsonjson_set_jsonJsonSetJsonjson_set_jsonJsonSetJsonJsonSetJson — Sets a JSON string in a JSON object or JSON array.

Signature

json_set_json( : : Json, Key, JsonString : JsonOut)

Herror json_set_json(const char* Json, const char* Key, const char* JsonString, char* JsonOut)

Herror T_json_set_json(const Htuple Json, const Htuple Key, const Htuple JsonString, Htuple* JsonOut)

Herror json_set_json(const HTuple& Json, const HTuple& Key, const HTuple& JsonString, char* JsonOut)

void JsonSetJson(const HTuple& Json, const HTuple& Key, const HTuple& JsonString, HTuple* JsonOut)

void HJsonX.JsonSetJson(
[in] VARIANT Json, [in] VARIANT Key, [in] VARIANT JsonString, [out] VARIANT* JsonOut)

static void HJson.JsonSetJson(HTuple json, HTuple key, HTuple jsonString, out HTuple jsonOut)

Description

json_set_jsonjson_set_jsonJsonSetJsonjson_set_jsonJsonSetJsonJsonSetJson sets a JSON string 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

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

JSON string

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

JSON object or array

Module

Foundation


ClassesClassesClassesClasses | | | | Operators