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
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。