Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: lib/json/json_frog.dart

Issue 10539164: Text run together in JSON docs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698