Plugin: JSON

This plugin adds functionality to operate with complex data structures. Properties of entity instances or relation instances can have different data types. It's possible to store even complex data using the data types array and object. This is handy if you receive data from an MQTT endpoint or if you want to represent more complex data. But it makes it also necessary to unpack or pack these data in order to operate with it.

Entity Types

NamePropertyData TypeSocket Type
ArrayPusharrayarrayinput
to_be_added_valueanyinput
resultarrayoutput
ArrayPoparrayarrayinput
resultarrayoutput
removed_valueanyinput
ArrayGetByIndexarrayarrayinput
indexnumberoutput
resultanyoutput
ObjectSetPropertyobjectobjectinput
property_namestringinput
property_valueanyinput
resultobjectoutput
ObjectRemovePropertyobjectobjectinput
property_namestringinput
resultobjectoutput
removed_valueanyoutput
ObjectGetPropertyobjectobjectinput
property_namestringinput
resultanyoutput

Platform Compatibility

PlatformCompatibility
Linux
MacOS
Windows

Repository

NameRepository
inexor-rgf-plugin-jsonhttps://github.com/inexorgame/inexor-rgf-plugin-json

Usage