-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
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
Adding docs about indented JSON/XML #644
Conversation
|
||
~~~ | ||
#!java | ||
result.use(json()).indented().from(carro).serialize(); //=> {\n 'carro': {\n 'cor': 'azul'\n }\n} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to improve the UX (mainly on mobile version), can you remove
the code comment and add as simple text? something like this:
result.use(json()).indented().from(carro).serialize();
dessa forma o resultado seria:
{
'carro':
{
'cor': 'azul'
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with 8d4d7d2
before change the comment, 🚢 |
|
||
Dessa forma o resultado seria: | ||
|
||
#!javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong format here, missing ~~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Added with 2c85e02
👍 |
Adding docs about indented JSON/XML
Related to #612.