https://github.com/bmitchinson/json-endpoint
https://github.com/bmitchinson/json-endpoint
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bmitchinson/json-endpoint
- Owner: bmitchinson
- Created: 2021-12-07T18:42:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T20:36:06.000Z (over 2 years ago)
- Last Synced: 2025-03-08T23:46:25.990Z (2 months ago)
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# json-endpoint
## Dataset
The following ingestion sources can all be ingested to a single dataset to demonstrate selectors. The schema of that dataset has one top level string attribute, called "name".
## Ingestions
#### [Link to xml to ingest](https://github.com/bmitchinson/json-endpoint/blob/main/sample.xml)
#### Corresponding ingestion definition
- topLevelSelector `top/middle/rows/person`
- Schema: 1 attribute:
- name: `name`
- type: `string`
- selector: `//person/firstName/text()`
#### [Link to json (no selector) to ingest](https://github.com/bmitchinson/json-endpoint/blob/main/name.json)
#### Corresponding ingestion definition
- topLevelSelector `{empty}`
- Schema: 1 attribute:
- name: `name`
- type: `string`
- selector: `{empty}`#### [Link to json (with a selector) to ingest](https://github.com/bmitchinson/json-endpoint/blob/main/nested_name.json)
#### Corresponding ingestion definition
- topLevelSelector `$.sub.path`
- Schema: 1 attribute:
- name: `name`
- type: `string`
- selector: `{empty}`