Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
I used rbv_api.stringToJson() to convert String from rbv_api.sendHttpGet() to JSON array of object in EVAL, And got one problem.
When String is too long, I got "Formula too long: 275865 chars, 102400 allowed (line #262) in formula".
I have changed MaxFormulaSize in shared.properties to increased allowed chars in formula, And it work.
But my data still growth and it will error again.
Yes if you return value is an object which needs conversion to String then you can use JSON.stringify ,whereas if your return value is a string and want to convert into JSON object then as you said JSON.parse can be used.
Could you try below one?
JSON.stringify(eval("(" + str + ")"));
Here "str" is the string which is returned from rbv_api.sendHttpGet() API.
I tried JSON.stringify(eval("(" + str + ")")); , It didn't work.
But I found JSON.parse(str); that is invert of JSON.stringify and used it.
And it work like rbv_api.stringToJson() with no char limit.