Uploaded image for project: 'Lucee Development'
  1. LDEV-1173

Missing arguments and argument types in serializeJSON

    Details

    • Type: Incompatibility
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.3.7
    • Labels:
      None
    • Sprint:
      July 2017 Sprint

      Description

      https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-s/serializejson.html

      In Adobe CF, you can pass the string "struct" into the "serializeQueryByColumns" parameter, you get an array of structs back.

      SerializeJSON( myQry, 'struct' );
      

      Here's a Gist of Adobe 2016 in action:
      http://trycf.com/gist/dd68d2a3ed4aa8ea839032692bb68d60/acf2016?theme=monokai

      I also noticed there are also two additional params there as well that Lucee doesn't support AFAIK. The custom serialize setting probably relies on https://luceeserver.atlassian.net/browse/LDEV-974

        Attachments

          Activity

            People

            • Assignee:
              21solutions Igal Sapir
              Reporter:
              bdw429s Brad Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: