ClassesClassesClassesClasses | | | | Operators

json_write_filejson_write_fileJsonWriteFilejson_write_fileJsonWriteFileJsonWriteFile (Operator)

Name

json_write_filejson_write_fileJsonWriteFilejson_write_fileJsonWriteFileJsonWriteFile — Writes a JSON string into a text file.

Signature

json_write_file( : : Json, FileName : )

Herror json_write_file(const char* Json, const char* FileName)

Herror T_json_write_file(const Htuple Json, const Htuple FileName)

Herror json_write_file(const HTuple& Json, const HTuple& FileName)

void JsonWriteFile(const HTuple& Json, const HTuple& FileName)

void HJsonX.JsonWriteFile(
[in] VARIANT Json, [in] VARIANT FileName)

static void HJson.JsonWriteFile(HTuple json, HTuple fileName)

Description

json_write_filejson_write_fileJsonWriteFilejson_write_fileJsonWriteFileJsonWriteFile writes a JSON string into a text file.

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

FileNameFileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

full path of the JSON file to be written

Default value: 'settings.json' "settings.json" "settings.json" "settings.json" "settings.json" "settings.json"

Example (HDevelop)

TODO

Module

Foundation


ClassesClassesClassesClasses | | | | Operators