Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IKC-36 nested objects and arrays #123

Merged
merged 1 commit into from
May 7, 2021
Merged

Conversation

mmergo-cd
Copy link
Collaborator

Complex json for testing ;)

{
  "id": "0002",
  "type": "donut",
  "name": "Cake",
  "ppu": 0.55,
  "zwierzątka": [
    "żółwie",
    "hipopotamy",
    "koty",
    "psy",
    "jednorożce"
  ],
  "samochód":  {
    "marka": "ford",
    "model": "mustang",
    "rocznik": 1967
  },
  "cokolwiek": [
    "jeden",
    "dwa",
    "trzy",
    "cztery",
    "pięć",
    "sześć",
    "siedem",
    "osiem",
    "dziewięć",
    "dziesięć",
    "jedenaście",
    "dwanaście"
  ],
  "batters": {
    "batter": [
      {
        "id": "1001",
        "type": "Regular"
      },
      {
        "id": "1002",
        "type": "Chocolate"
      },
      {
        "id": "1003",
        "type": "Blueberry",
        "nested": {
          "from": "forest",
          "forest_id": "puszcza",
          "deeper": {
            "prop1": "wartość1",
            "list": [
              "value1",
              "value2",
              "value3"
            ]
          }
        }
      },
      {
        "id": "1004",
        "type": "Devil's Food",
        "jeden": 1,
        "dwa": 2,
        "trzy": 3,
        "cztery": 4,
        "pięć": 5,
        "sześć": 6,
        "siedem": 7,
        "osiem": 8,
        "dziewięć": 9,
        "dziesięć": 10,
        "jedenaście": 11,
        "dwanaście": 12
      }
    ]
  },
  "topping": [
    {
      "id": "5001",
      "type": "None"
    },
    {
      "id": "5002",
      "type": "Glazed"
    },
    {
      "id": "5005",
      "type": "Sugar"
    },
    {
      "id": "5007",
      "type": "Powdered Sugar"
    },
    {
      "id": "5006",
      "type": "Chocolate with Sprinkles"
    },
    {
      "id": "5003",
      "type": "Chocolate"
    },
    {
      "id": "5004",
      "type": "Maple"
    }
  ]
}

@ynleborg ynleborg merged commit 995a7ab into master May 7, 2021
@ynleborg ynleborg deleted the IKC-36-nested-objects-and-lists branch May 7, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants