We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The json.indent() function has an issue with json objects keys called "class" (in lowercase) and omits them from the returned value.
json.indent()
Add the following to a new macro, run and observe results.
[r: vJson = json.set("{}", "class", "not so classy", "CLASS", "but this is")] [r: "<pre>" + json.indent(vJson) + "</pre>"]
json.indent() function does not omit anyhting.
No response
Originally noticed here: https://discord.com/channels/296230822262865920/1334553385440907374/1337233348803956808
The text was updated successfully, but these errors were encountered:
Fixed by accident in #5217.
Provided macro now prints:
{"class":"not so classy","CLASS":"but this is"} { "class": "not so classy", "CLASS": "but this is" }
Sorry, something went wrong.
kwvanderlinde
Successfully merging a pull request may close this issue.
Describe the Bug
The
json.indent()
function has an issue with json objects keys called "class" (in lowercase) and omits them from the returned value.To Reproduce
Add the following to a new macro, run and observe results.
Expected Behaviour
json.indent()
function does not omit anyhting.Screenshots
MapTool Info
No response
Desktop
No response
Additional Context
Originally noticed here: https://discord.com/channels/296230822262865920/1334553385440907374/1337233348803956808
The text was updated successfully, but these errors were encountered: