gjson
gjson copied to clipboard
Feature Request: Support Multiline / Pretty-Formatted Expressions
Hi, thank you for the excellent work on gjson!
I'd like to request support for formatted (multiline) expressions. Currently, expressions must be written on a single line, for example:
{name:name.last,age}
However, when an expression contains dozens or even hundreds of fields, placing everything on a single line becomes extremely difficult to read and maintain.
It would be extremely helpful if gjson could support expressions formatted like:
{
name:name.last,
age,
}
This would greatly improve readability for complex queries and enable developers to structure large expressions in a cleaner, more maintainable way.
Thanks for considering this enhancement!