[tarantool-patches] [PATCH v5 07/12] lib: introduce json_path_normalize routine
    Konstantin Osipov 
    kostja at tarantool.org
       
    Thu Nov  1 18:22:00 MSK 2018
    
    
  
* Kirill Shcherbatov <kshcherbatov at tarantool.org> [18/10/29 20:25]:
> Introduced a new routine json_path_normalize that makes a
> conversion of JSON path to the 'canonical' form:
>   - all maps keys are specified with operator ["key"] form
>   - all array indexes are specified with operator [i] form.
> This notation is preferable because in the general case it can
> be uniquely parsed.
> We need such API in JSON indexes patch to store all paths in
> 'canonical' form to commit the path uniqueness checks and
> to tune access with JSON path hashtable.
> 
> Need for #1012
Let's try to avoid this altogether. We could use parent references
to check if path1 equals to path2.
-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
    
    
More information about the Tarantool-patches
mailing list