From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A7EB3299B2 for ; Thu, 29 Mar 2018 10:22:13 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id snWnbkhrvqsC for ; Thu, 29 Mar 2018 10:22:13 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1D70E299CC for ; Thu, 29 Mar 2018 10:22:12 -0400 (EDT) From: Kirill Shcherbatov Subject: [tarantool-patches] [PATCH v2 0/3] tuple field access via a json path Date: Thu, 29 Mar 2018 17:22:01 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Kirill Shcherbatov Branch: http://github.com/tarantool/tarantool/tree/gh-1285-tuple-field-by-json Issue: https://github.com/tarantool/tarantool/issues/1285 Kirill Shcherbatov (1): Multibyte characters support Vladislav Shpilevoy (2): Introduce json_path_parser lua: implement json path access to tuple fields src/box/CMakeLists.txt | 2 +- src/box/lua/tuple.c | 175 ++++++++++++++++++++++++++++++++---- src/box/lua/tuple.lua | 45 +++------- src/lib/CMakeLists.txt | 1 + src/lib/json/CMakeLists.txt | 6 ++ src/lib/json/path.c | 203 +++++++++++++++++++++++++++++++++++++++++ src/lib/json/path.h | 111 +++++++++++++++++++++++ test/engine/tuple.result | 214 ++++++++++++++++++++++++++++++++++++++++++++ test/engine/tuple.test.lua | 63 +++++++++++++ test/unit/CMakeLists.txt | 3 + test/unit/json_path.c | 162 +++++++++++++++++++++++++++++++++ test/unit/json_path.result | 82 +++++++++++++++++ 12 files changed, 1015 insertions(+), 52 deletions(-) create mode 100644 src/lib/json/CMakeLists.txt create mode 100644 src/lib/json/path.c create mode 100644 src/lib/json/path.h create mode 100644 test/unit/json_path.c create mode 100644 test/unit/json_path.result -- 2.7.4