Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #0: unknown type (<nil>) <nil> when read parsed object #37

Open
Alex009 opened this issue May 25, 2023 · 0 comments
Open

Error #0: unknown type (<nil>) <nil> when read parsed object #37

Alex009 opened this issue May 25, 2023 · 0 comments

Comments

@Alex009
Copy link

Alex009 commented May 25, 2023

i have response:

{
            "id": "123",
            "field": null
}

and if i try to read property field i got Error #0: unknown type (<nil>) <nil>.

lesson:get("field")

https://github.com/krakendio/krakend-lua/blob/f269bb05566b2d1f40a75d607de0d10451677670/proxy/response.go#L185

here type nil not included, but json can have null values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant