Skip to content

flatc JSON serialisation of sorted tables #186

@Jiboo

Description

@Jiboo

Hi,

I think that the current implementation of Parser::ParseVector serializes tables with key in the order of the JSON file and don't sorts the element by their keys. I clearly don't know enough of the internals to know if I'm right, but it looks like it just PushElement offset to tables in the order of parsing, and don't arrange the entries before serializing the offsets.

Bye,
JB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions