MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / formJsonLocalized

Method formJsonLocalized

src/AutoNumeric.js:3308–3310  ·  view source on GitHub ↗

* Return a JSON string containing an object representing the form input values. * This is based on the result of the `formArrayLocalized()` function. * * @param {null|string} forcedOutputFormat If set to something different from `null`, then this is used as an overriding outputFormat

(forcedOutputFormat = null)

Source from the content-addressed store, hash-verified

3306 * @returns {string}
3307 */
3308 formJsonLocalized(forcedOutputFormat = null) {
3309 return JSON.stringify(this.formArrayLocalized(forcedOutputFormat));
3310 }
3311
3312 /**
3313 * Unformat all the autoNumeric-managed elements that are a child of the parent <form> element of this DOM element, to numeric strings

Callers 2

Calls 1

formArrayLocalizedMethod · 0.95

Tested by

no test coverage detected