https://github.com/caltechlibrary/dotpath
A Go, Python and TypeScript modules for working with map, dicts and objects accessing them using a dot path notation.
https://github.com/caltechlibrary/dotpath
dot-notation module
Last synced: 7 months ago
JSON representation
A Go, Python and TypeScript modules for working with map, dicts and objects accessing them using a dot path notation.
- Host: GitHub
- URL: https://github.com/caltechlibrary/dotpath
- Owner: caltechlibrary
- License: other
- Created: 2017-06-20T17:09:30.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T23:57:17.000Z (10 months ago)
- Last Synced: 2025-04-13T13:18:26.503Z (10 months ago)
- Topics: dot-notation, module
- Language: HTML
- Homepage: https://github.com/caltechlibrary/dotpath
- Size: 255 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
- Codemeta: codemeta.json
Awesome Lists containing this project
README
# dotpath
This is a collection of Go, Python and TypeScript modules implementing `getDotpath` and `hasDotpath` functions for working with maps, dictionaries and objects. It supports access and existance Go `map`, Python `dict` and TypeScript `object` or `{[key: string]: any}` using a dot path notation similar to that supported by [jq](https://jqlang.org).
The Go package provides a simple mechanism to extract bits of JSON based on simple explicit dot path notation. This package is used by [dataset](https://github.com/caltechlibrary/dataset).