Library "json" Convert JSON strings to tradingview ▦ FEATURES ▦ █ Json to array █ Get json key names █ Get json key values █ Size of json
get_json_keys_names(raw_json) Returns string array with all key names Parameters: raw_json: (string) Raw JSON string Returns: (string array) Array with all key names
get_values_by_id_name(raw_json, key_name) Returns string array with values of the input key name Parameters: raw_json: (string) Raw JSON string key_name: (string) Name of the key to be fetched Returns: (string array) Array with values of the input key name
size_of_json_string(raw_json) Returns size of raw JSON string [n_of_values, n_of_keys_names] Parameters: raw_json: (string) Raw JSON string Returns: [int, int] Size of n_of_values, size of n_of_keys_names