Skip to content

JSON serialisation - Rune JSON serialiser can use labels when serialising #658

Open

Description

@hugohills-regnosys

Currently the JSON serialisation uses the attribute name as the key in the JSON key/value pair.

type Leg:
    field1 string (1..1)
        [label "Leg - Field 1 (Blah)"]

Currently serialises as:

{
    "field1" : "someValue"
}

With the new label config switched on, it would serialise as:

{
    "Leg - Field 1 (Blah)" : "someValue"
}

The proposal is to add support to the new Rune JSON mapper across all branches.

This is already supported for CSV serialisation.

Activity

  1. changed the title [-]JSON serialisation - add configuration to allow JSON serialiser to use labels when serialising[/-] [+]JSON serialisation - Rune JSON serialiser can use labels when serialising[/+] on Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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