PINE LIBRARY
Updated

pson

PineScript Object Notation

A workaround not having objects in pinescript.
This is a Json-look-alike interpreter.
Format: "attr=value:attr1=value1:attr2=value2".

You can add new attributes, get the value in those attributes, set new values to existing attributes and check if an attribute exists.
Release Notes
v2 - now you can have psons inside psons

Added:
get_itterable()

Updated:
set()

get()
Release Notes
fixing typo
Release Notes
v4 - fixed issue with the add() function
Release Notes
v5 - added get_values() get_int() get_bool()
Release Notes
v6 added set_values()
Release Notes
v7 added remove()

Disclaimer