/tests/resources/customJsonRepresentation.cfc
ColdFusion CFScript | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | 5d9650ec84ed430a16ab5abceeba96a1 MD5 | raw file
1<cfcomponent extends="taffy.core.nativeJsonRepresentation"> 2 <cffunction name="getAsJSON" output="false" 3 taffy_mime="text/json" 4 taffy_default="true" 5 hint="serializes data as JSON"> 6 7 <cfreturn super.getAsJson() /> 8 </cffunction> 9</cfcomponent>