Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all articles
Browse latest Browse all 5979

returnformat = JSON

$
0
0

I have some fields that are varchar, however, they have numbers in them.  JSON does not return them inside quotation marks because it is interpreting it as a number.  Real numbers do not work, either.  Is there a workaround?

 

<cffunction name="jqgridCP" access="remote" returnformat="json">

 

I'm trying to populate a cfgrid with data from a cfquery.  The fields that have numbers as data (not all do) but are varchar in the database return empty cells.

 

It appears to be adding .0 to the numbers.


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>