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