[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

JSON Again, Stop Me Before It's Too Late

  • To: xml-dev@l...
  • Subject: JSON Again, Stop Me Before It's Too Late
  • From: Alan Gutierrez <alan-xml-dev@e...>
  • Date: Tue, 27 Sep 2005 04:14:40 -0400
  • Mail-followup-to: xml-dev@l...
  • User-agent: Mutt/1.4.1i

json to html
    I'm developing a JavaScript/DHTML application. Ruby on Rails
    uses the Prototype and script.aculo.us JavaScript libraries,
    which are gaining traction in this area of web development.

    JSON has been discussed here before. I started to use JSON
    because when I view source on many DHTML applications, that's
    what I see. It was quick and dirty, and I knocked out an XSLT
    2.0 transform to generate JSON and HTML generator functions.

    Now I'm trying to figure out how to escape strings...

    This is the JavaScript code to stringify a string, and the 
    implementations of JSON stringifiers in other languages are just
    as simplistic. Look for: case 'string':

    http://www.crockford.com/JSON/json.js

    I'm a Mid-Western American who wouldn't know how to make his
    computer spell cafe correctly if his life depdended on it. I try
    to defer learning the details of Unicode by adhearing to the XML
    specifications and Java APIs as best I can.
    
    That block of code does not look like it encompases the width
    and breadth of i18n, but maybe I'm mistaken.

    It's not too late for me to start exploring using XML for
    transport.

--
Alan Gutierrez - alan@e...
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.