Skip to content

How to use #32

@tiam-bloom

Description

@tiam-bloom
{
  "dep": 2,
  "gov": [
    {"name": "Chris", "age": 23, "city": "New York"},
    {"name": "Emily", "age": 19, "city": "Atlanta"},
    {"name": "Joe", "age": 32, "city": "New York"},
    {"name": "Kevin", "age": 19, "city": "Atlanta"},
    {"name": "Michelle", "age": 27, "city": "Los Angeles"},
    {"name": "Robert", "age": 45, "city": "Manhattan"},
    {"name": "Sarah", "age": 31, "city": "New York"}
  ]
}

如何通过JSON query转为

[
    {"name": "Chris", "age": 23, "city": "New York","dep": 2},
    {"name": "Emily", "age": 19, "city": "Atlanta","dep": 2},
    ......
  ]

形式

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions