artknight
01/31/2024, 3:52 PM{"insert":" displayName();"}
What I am getting on SELECT is this {"insert":" displayName();"}
The whitespace before displayName() is reduced to only one spacedswitzer
01/31/2024, 4:00 PMartknight
01/31/2024, 4:04 PMartknight
01/31/2024, 4:05 PMdswitzer
01/31/2024, 4:06 PMartknight
01/31/2024, 4:07 PMartknight
01/31/2024, 4:07 PMartknight
01/31/2024, 4:08 PMdswitzer
01/31/2024, 4:09 PMdswitzer
01/31/2024, 4:09 PMartknight
01/31/2024, 4:09 PMdswitzer
01/31/2024, 4:10 PMartknight
01/31/2024, 4:10 PMdswitzer
01/31/2024, 4:10 PMartknight
01/31/2024, 4:10 PMartknight
01/31/2024, 4:12 PM<pre>{
"ops": [
{
"insert": "Header"
},
{
"attributes": {
"header": 2
},
"insert": "\n"
},
{
"insert": "\n"
},
{
"insert": {
"emoji": "smile"
}
},
{
"insert": "this is working...\nfunction getUsers(){
"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n"
},
{
"insert": "let x=5;"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n\n"
},
{
"insert": "if(x===5)"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n"
},
{
"insert": "displayName();"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n\n"
},
{
"insert": "return x;"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n"
},
{
"insert": "
}"
},
{
"attributes": {
"code-block": "plain"
},
"insert": "\n"
}
]
}</pre>artknight
01/31/2024, 4:13 PM"insert": "displayName();"artknight
01/31/2024, 4:14 PMdswitzer
01/31/2024, 4:15 PMartknight
01/31/2024, 4:16 PMreturntype="struct"artknight
01/31/2024, 4:16 PMdswitzer
01/31/2024, 4:18 PMartknight
01/31/2024, 4:18 PMartknight
01/31/2024, 4:18 PMartknight
01/31/2024, 4:20 PMdswitzer
01/31/2024, 4:23 PMdswitzer
01/31/2024, 4:24 PMreturnType attribute on a query, so it's certainly possible that could be adding some logic that I would not see.artknight
01/31/2024, 4:34 PMpothys-mitrahsoft
01/31/2024, 4:40 PMlen( json_from_db )artknight
01/31/2024, 4:47 PMpothys-mitrahsoft
01/31/2024, 4:54 PMpothys-mitrahsoft
01/31/2024, 4:58 PM<cfdump var="#len( stData["1"].json )#" label="length of json string from cfquery" />artknight
01/31/2024, 5:02 PMartknight
01/31/2024, 5:05 PMartknight
01/31/2024, 5:06 PMpothys-mitrahsoft
01/31/2024, 5:07 PMartknight
01/31/2024, 5:07 PMpothys-mitrahsoft
01/31/2024, 5:08 PMpothys-mitrahsoft
01/31/2024, 5:08 PMartknight
01/31/2024, 5:09 PMartknight
01/31/2024, 5:09 PM