Skip to content

Modify JSONWriter.write* methods to take name + value  #3

@shaie

Description

@shaie

I am using Noggit to serialize stuff into JSON using JSONWriter. My code generally looks like:

{code}
writer.writer(name); writer.writeNameSeparator(); writer.write(value);
{code}

If all write* methods took {{String name}} and {{TYPE value}}, where TYPE is the type each method takes, e.g. {{write(String name, long value)}}, it would generate much less code.

Similarly, I'd like to add startObject/Array variants which take a name for convenience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions