Skip to content

Configuration to solve the type conversion #2

@cmilfont

Description

@cmilfont

Converting types of values like that:

var byId = true,
config = {
numeric: ["value"],
date: ["date"]
}
var json = jQuery("#myform").getJSON(byId, config);
typeof json.value === "number"
Object.prototype.toString.call(json.date) === "[object Date]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions