apache / openwhisk-apigateway

Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
https://openwhisk.apache.org/
Apache License 2.0
64 stars 45 forks source link

Decode empty JSON arrays correctly #324

Closed alexsong93 closed 5 years ago

alexsong93 commented 5 years ago

Fixes issue where empty JSON arrays were getting converted to empty objects.

See https://github.com/openresty/lua-cjson#decode_array_with_array_mt.

@mhamann