Skip to content

Support serializing json fields as strings #14

@arves100

Description

@arves100

During analysis in brave frontier (for example:

json VideoAdsSlotGameInfo {
), it was shown that Brave Frontier serializes nested JSONs formatted as string

The generator must support the following new syntax:
JsonType::str as serializing the JSON as a string.

A new glaze mapping type would be required in order to do so (for example: pkg::glaze::json_as_string<Type>)

The default behavior of JSON nodes should be to serialize them as JSON objects.

This will allow us to configure stuff like the Video ad slot MST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions