/tests/resources/customJsonRepresentation.cfc
http://github.com/atuttle/Taffy · ColdFusion CFScript · 9 lines · 8 code · 1 blank · 0 comment · 0 complexity · 5d9650ec84ed430a16ab5abceeba96a1 MD5 · raw file
- <cfcomponent extends="taffy.core.nativeJsonRepresentation">
- <cffunction name="getAsJSON" output="false"
- taffy_mime="text/json"
- taffy_default="true"
- hint="serializes data as JSON">
-
- <cfreturn super.getAsJson() />
- </cffunction>
- </cfcomponent>