News for hackers. Stuff that matters.
Re:Redis as a JSON store by macca321 on Wednesday March 22, 2017 @06:56AM (#13929904)
>Since there does not exist a standard for path syntax, ReJSON implements its own.

Well there's this: JavaScript Object Notation (JSON) Pointer RFC https://tools.ietf.org/html/rfc6901

Re:Redis as a JSON store by grenoire on Wednesday March 22, 2017 @07:02AM (#13929938)
Looks like ReJSON just uses periods instead of slashes as the delimiter, except for also using a period for the root object.
Re:Redis as a JSON store by dvirsky on Wednesday March 22, 2017 @07:14AM (#13929997)
We wanted to start with something simple and intuitive, and since we're not doing indexing yet, we figured complex multi-selectors are an overkill at this stage. What we chose is basically the most rudimentary subset of JsonPath.

Once we'll add indexing I'm guessing the path expressions will need to become more complicated, and we'll try to choose a "standard" and stick with it.

Re:Redis as a JSON store by sparrish on Wednesday March 22, 2017 @10:08AM (#13930988)
I think JsonPath is a great start and I hope you continue to support it. I'm excited to see JSON in Redis and plan on kicking the tires very soon.
Re:Redis as a JSON store by dvirsky on Wednesday March 22, 2017 @10:19AM (#13931074)
Thanks! What I'm looking forward is adding secondary indexing to this module :)
Re:Redis as a JSON store by itamarhaber on Wednesday March 22, 2017 @07:13AM (#13929990)
Thank you, I didn't know about that one... good thing HN has comments :) Do you know if anybody is actually using RFC6901?
Re:Redis as a JSON store by jkodumal on Wednesday March 22, 2017 @10:57AM (#13931419)
JSON Patch (http://jsonpatch.com/) also uses it.
Re:Redis as a JSON store by lucian1900 on Wednesday March 22, 2017 @07:41AM (#13930114)
JSON Schema uses the Pointer spec for references.