-
-
Notifications
You must be signed in to change notification settings - Fork 463
"-" in top level field names #713
Unanswered
rnadhani-ns
asked this question in
Q&A
-
I have a json like:
{ "cs-app": "Dropbox", "cs-app-cci": 10, "cs-app-tags": ["HR", "Marketing"], "simple": "Dropbox" }
"cs-app" == "Dropbox" returns False as its considered cs-app as StringNode instead of IdentifierNode and cs-app == "Dropbox" fails to compile.
Is there anyway to support this out of box other than using Patch?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Yes.
$env['cs-app'] == 'Dropbox'
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment