PINE LIBRARY
Aktualisiert

jsonBuilder

906
Library "jsonBuilder"

jsonBuilder is a lightweight Pine Script utility library for building JSON strings manually. It includes functions to convert key-value pairs into JSON format and to combine multiple pairs into a complete JSON object.

jsonString(key, value) – Converts a string key and string value into a valid JSON key-value pair.

jsonObject(pair1, ..., pair20) – Merges up to 20 key-value pairs into a complete JSON object string. Empty arguments are skipped automatically.

This is useful when sending structured JSON data via webhooks or external integrations from Pine Script.
Versionshinweise
v2

Pine Script®

Pine Script®

Pine Script®

Pine Script®

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.