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
I want to parse a big json and level is deep, how can I use indent line in my CodeEditor?
The text was updated successfully, but these errors were encountered:
Beautify json? I think you should do it yourself and then set it to CodeEditor. The following is a code snippet.
String beautifyJson(String source) { const JsonDecoder decoder = JsonDecoder(); final JsonEncoder encoder = JsonEncoder.withIndent(indent); return encoder.convert(decoder.convert(source)); }
Sorry, something went wrong.
Beautify json? I think you should do it yourself and then set it to CodeEditor. The following is a code snippet. String beautifyJson(String source) { const JsonDecoder decoder = JsonDecoder(); final JsonEncoder encoder = JsonEncoder.withIndent(indent); return encoder.convert(decoder.convert(source)); }
Thank you for your reply! Actually I want to display the indentation line as shown in the picture. Can it be achieved?
It is not difficult to implement, but still need to write some code. I will complete this support in the next version.
N�ice! 😄
MegatronKing
No branches or pull requests
I want to parse a big json and level is deep, how can I use indent line in my CodeEditor?
The text was updated successfully, but these errors were encountered: