Skip to content

javi11/jpo-jpa

Repository files navigation

jpo-jpa

A simple library to convert a JSON pointer path to JSON path.

Install

$ npm install jpo-jpa

Usage

const jpoToJpa = require('jpo-jpa');

const jsonPointerPath = '/prop/1/inLove';

jpoToJpa(jsonPointerPath);
//=> $.prop.1.inLove

API

jpoToJpa(jsonPointerPath)

Returns the json path value.

About

Json pointer to json path converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published