You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2019/09/25 04:08:07 UTC
[openwhisk-apigateway] 01/01: Fix array handling during mapping
operations
This is an automated email from the ASF dual-hosted git repository.
mhamann pushed a commit to branch json-handling
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git
commit 6cf283bf93caf10a805c461a8bf643f07a4c96c6
Author: Matt Hamann <ma...@gmail.com>
AuthorDate: Wed Sep 25 00:05:09 2019 -0400
Fix array handling during mapping operations
---
scripts/lua/policies/mapping.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/lua/policies/mapping.lua b/scripts/lua/policies/mapping.lua
index 8b42130..63ba789 100644
--- a/scripts/lua/policies/mapping.lua
+++ b/scripts/lua/policies/mapping.lua
@@ -21,6 +21,7 @@
local logger = require "lib/logger"
local utils = require "lib/utils"
local cjson = require "cjson.safe"
+cjson.decode_array_with_array_mt(true)
local _M = {}