forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
18
leenkx/blender/lnx/logicnode/map/LN_json_parse.py
Normal file
18
leenkx/blender/lnx/logicnode/map/LN_json_parse.py
Normal file
@ -0,0 +1,18 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class ParseJsonNode(LnxLogicTreeNode):
|
||||
"""Parse a JSON String to Haxe object.
|
||||
|
||||
@input JSON: JSON string.
|
||||
|
||||
@output Value: Parsed value.
|
||||
"""
|
||||
|
||||
bl_idname = 'LNParseJsonNode'
|
||||
bl_label = 'Parse JSON'
|
||||
lnx_version = 1
|
||||
|
||||
def init(self, context):
|
||||
self.add_input('LnxStringSocket', 'JSON')
|
||||
self.add_output('LnxDynamicSocket', 'Value')
|
Reference in New Issue
Block a user