E019Error

Malformed number

Expected a digit that is missing from a number.

What it means

A JSON number needs digits after a decimal point and after an exponent marker. Forms like 1., 1e, or a lone - are incomplete.

Example

Invalid
{ "value": 1. }
Valid
{ "value": 1.0 }

How to fix it

Add the missing digit(s) to complete the number.

Validate your JSON to see this and every other issue highlighted in one pass.


Diagnostics on this page come from @jsonlint/core, the open-source engine that powers the JSONLint validator. Install it with npm install @jsonlint/core.