ClassesClassesClassesClasses | | | | Operators

json_read_filejson_read_fileJsonReadFilejson_read_fileJsonReadFileJsonReadFile (Operator)

Name

json_read_filejson_read_fileJsonReadFilejson_read_fileJsonReadFileJsonReadFile — Reads a JSON file into a JSON string.

Signature

json_read_file( : : FileName : Json)

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

Herror T_json_read_file(const Htuple FileName, Htuple* Json)

Herror json_read_file(const HTuple& FileName, char* Json)

void JsonReadFile(const HTuple& FileName, HTuple* Json)

void HJsonX.JsonReadFile(
[in] VARIANT FileName, [out] VARIANT* Json)

static void HJson.JsonReadFile(HTuple fileName, out HTuple json)

Description

json_read_filejson_read_fileJsonReadFilejson_read_fileJsonReadFileJsonReadFile reads a JSON file into a JSON string.

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

Parallelization

Parameters

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

full path of the JSON file to be read

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

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

JSON string

Example (HDevelop)

TODO

Module

Foundation


ClassesClassesClassesClasses | | | | Operators