Skip to content

JSON parsing in frog is broken #522

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


import("dart:json")

var a = "[1,2,3]"
var b = JSON.parse(a)

What is the expected output? What do you see instead?

b should now contain an array. With the dart editor, it does. With frog, it does not.

What version of the product are you using? On what operating system?

jeffbailey@cirrostratus:~/Programming/gclienttree/dart/dart$ svn info
Path: .
URL: http://dart.googlecode.com/svn/trunk/dart
Repository Root: http://dart.googlecode.com/svn
Repository UUID: 260f80e4-7a28-3924-810f-c04153c831b5
Revision: 1647
Node Kind: directory
Schedule: normal
Last Changed Author: [email protected]
Last Changed Rev: 1556
Last Changed Date: 2011-11-15 17:11:21 -0800 (Tue, 15 Nov 2011)

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions