Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Export ADF as JSON #164

@rgr78

Description

@rgr78

Hi.

I was wondering if you could implement a new feature: export ADF files as JSON. Or, make the text export parseable as JSON.

For example, instead of

--------instances
instances	ed7e7e79	c5333160	equipment_ammo_bh_bow_arrow_420	152	128	00000098-00000118
# Structure AmmunitionTuning(0xC5333160), Data Offset: 152(0x00000098)
{
  ammunition_class:
    # Array of Structure AmmunitionClass(0x4BCCE369), Data Offset: 272(0x00000110), Info Offset: 152(0x00000098)
    [
      # Structure AmmunitionClass(0xF18AFACE), Data Offset: 272(0x00000110)
      {
        level:
          2  # uint08(0x0CA2821D), Data Offset: 272(0x00000110)
      }
      # Structure AmmunitionClass(0xF18AFACE), Data Offset: 273(0x00000111)
      {
        level:
          3  # uint08(0x0CA2821D), Data Offset: 273(0x00000111)
      }
      # Structure AmmunitionClass(0xF18AFACE), Data Offset: 274(0x00000112)
      {
        level:
          4  # uint08(0x0CA2821D), Data Offset: 274(0x00000112)
      }
      # Structure AmmunitionClass(0xF18AFACE), Data Offset: 275(0x00000113)
      {
        level:
          5  # uint08(0x0CA2821D), Data Offset: 275(0x00000113)
      }

Something like:

{
    "ammunition_class": [
        {
            "level": 2
        },
        {
            "level": 3
        },
        {
            "level": 4
        },
        {
            "level": 5
        }
    ]
}

It's mostly the lack of commas in the strings, and the colons on the arrays.

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