Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /smlnj-lib/trunk/JSON/json.sml
ViewVC logotype

View of /smlnj-lib/trunk/JSON/json.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2996 - (download) (annotate)
Fri Apr 18 16:26:23 2008 UTC (11 years, 4 months ago) by jhr
File size: 439 byte(s)
  First commit of JSON library.  Printing is supported, but not parsing.
(* json.sml
 * COPYRIGHT (c) 2008 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 * This is the tree representation of a JSON data as produced/consumed
 * by the tree parser.

structure JSON =

    datatype value
      = OBJECT of (string * value) list
      | ARRAY of value list
      | NULL
      | BOOL of bool
      | INT of IntInf.int
      | FLOAT of real
      | STRING of string


ViewVC Help
Powered by ViewVC 1.0.0