Created
March 13, 2026 11:27
-
-
Save trycf/78c22d52da818c1c8649c01d24241bac to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfset jsonVal = '{"ull": false, "Type": "jsonb", "Value": "{\"items\": [{\"id\": \"home\", \"url\": \"/\", \"label\": \"Home\"}, {\"id\": \"about\", \"url\": \"/about\", \"label\": \"About Us\"}, {\"id\": \"services\", \"url\": \"/services\", \"label\": \"Services\"}, {\"id\": \"blog\", \"url\": \"/blog\", \"label\": \"Blog\"}, {\"id\": \"contact\", \"url\": \"/contact\", \"label\": \"Contact\"}], \"version\": 5}"}'> | |
| <cfset deserval = deserializeJSON(jsonVal)> | |
| <cfdump var="#deserval.value#"> | |
| <cfdump var="#jsonVal#"> | |
| <cfdump var="#deserializeJSON(jsonVal)#"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment