OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // Pure Dart implementation of JSON protocol. | 5 // Pure Dart implementation of JSON protocol. |
6 | 6 |
7 /** | 7 /** |
8 * Utility class to parse JSON and serialize objects to JSON. | 8 * Utility class to parse JSON and serialize objects to JSON. |
9 */ | 9 */ |
10 class JSON { | 10 class JSON { |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 } | 575 } |
576 }); | 576 }); |
577 _sb.add('}'); | 577 _sb.add('}'); |
578 return; | 578 return; |
579 | 579 |
580 default: | 580 default: |
581 throw const JsonUnsupportedObjectType(); | 581 throw const JsonUnsupportedObjectType(); |
582 } | 582 } |
583 } | 583 } |
584 } | 584 } |
OLD | NEW |