Using encodeForJavaScript() To Embed A JSON Payload As Configuration For A Single-Page Application in ColdFusion

added by JavaScript Kicks
1/11/2019 12:00:27 PM

397 Views

Ben Nadel demonstrates how to use encodeForJavaScript() in conjunction with serializeJson() in order to safely embed a JSON (JavaScript Object Notation) configuration payload within a JavaScript context as part of a ColdFusion page response that it serving-up a Single-Page Application (SPA).


0 comments