Skip to content

JavaScript Macro's (Heavy Calculations) "Return Value" Best Practices #6378

Answered by pmario
msameen99 asked this question in Q&A
Discussion options

You must be logged in to vote

2- Is there any "restrictions" on the size of the returned string from JavsScript Macros?

no

This question because I'm thinking to "flatten" all JSON levels to a single string, using the characters "|","||", "|||", ... as a separator between the levels (the return string will not contains that character, it has only some IDs and Tiddlers Titles) BUT this may result a VERY long string.

There is a JSON-mangler plugin, which pretty much does what you want. .. BUT it's broken since 5.2.x ...

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@msameen99
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by msameen99
Comment options

You must be logged in to vote
1 reply
@msameen99
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants