An open API service indexing awesome lists of open source software.

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.

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).