| Index: lib/json/json_frog.dart
|
| ===================================================================
|
| --- lib/json/json_frog.dart (revision 8674)
|
| +++ lib/json/json_frog.dart (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -39,12 +39,12 @@
|
| /**
|
| * Takes a string in JSON notation and returns the value it
|
| * represents. The resulting value is one of the following:
|
| - * null
|
| - * a bool
|
| - * a double
|
| - * a String
|
| - * an Array of values (recursively)
|
| - * a Map from property names to values (recursively)
|
| + * * null
|
| + * * a bool
|
| + * * a double
|
| + * * a String
|
| + * * an Array of values (recursively)
|
| + * * a Map from property names to values (recursively)
|
| */
|
| static Object parse(String str) {
|
| return _JSON.parse(str, (_, obj) {
|
| @@ -64,12 +64,12 @@
|
| * Takes a value and returns a string in JSON notation
|
| * representing its value, or returns null if the value is not representable
|
| * in JSON. A representable value is one of the following:
|
| - * null
|
| - * a bool
|
| - * a double
|
| - * a String
|
| - * an Array of values (recursively)
|
| - * a Map from property names to values (recursively)
|
| + * * null
|
| + * * a bool
|
| + * * a double
|
| + * * a String
|
| + * * an Array of values (recursively)
|
| + * * a Map from property names to values (recursively)
|
| */
|
| // TODO(jmesserly): handle any List subtype? Right now it's converted as
|
| // something like:
|
|
|