Skip to content

Dashboard: mocker doesn't work anymore with arrays containing objects for JSON data #130

@jbvanzuylen

Description

@jbvanzuylen
Contributor

Simple arrays still works perfectly but arrays containing objects like this don't:

{
    "test": [
        {"key1", "value1"},
        {"key2", "value2"}
    ]
}

The lastest changes to the file "mocker.cfm" is parsing the JSON to a javascript object, the endpoint is then added to the object and the result is send to the framework as form data (application/x-www-form-urlencoded). The framework is thus unable to reconstruct the object elements of the array.

Activity

atuttle

atuttle commented on Mar 16, 2013

@atuttle
Owner

Fixed with PR #131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @atuttle@jbvanzuylen

        Issue actions

          Dashboard: mocker doesn't work anymore with arrays containing objects for JSON data · Issue #130 · atuttle/Taffy