MA_PT

json

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
  Parameters:
    raw_json: (string) Raw JSON string
  Returns: Size of n_of_values, size of n_of_keys_names
ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ