JSONL Validator - Invalid Lines and Clean JSONL Export avatar

JSONL Validator - Invalid Lines and Clean JSONL Export

Pricing

from $0.48 / 1,000 input work unit inspecteds

Go to Apify Store
JSONL Validator - Invalid Lines and Clean JSONL Export

JSONL Validator - Invalid Lines and Clean JSONL Export

Validate JSON Lines and export accepted JSONL plus rejected lines. Detect malformed JSON, duplicate object keys and non-finite numbers.

Pricing

from $0.48 / 1,000 input work unit inspecteds

Rating

0.0

(0)

Developer

Dhan sites

Dhan sites

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 hours ago

Last modified

Categories

Features

Limited permissions

Share

Validate supplied JSON Lines and export accepted values plus rejected lines with source line numbers. Detect malformed JSON, duplicate object keys and non-finite values.

Start with this workflow

Separate accepted JSONL from rejected lines before an import.

After the run: Download VALID.jsonl and REJECTS. Accepted values are reserialized; original whitespace and numeric lexical formatting may change.

What is billed: Nonblank source lines, including rejected lines; blank lines and invalid top-level input are free. Check the Pricing tab for the applicable subscription-tier rate. Result rows and billable input units can differ. A successful execution does not guarantee full coverage.

The example uses a small supplied fixture or the publisher-owned demonstration target. Replace it with input you are authorized to process; inspect coverage, diagnostics and limits before downstream use.

Working example

{
"jsonlText": "{\"sku\":\"A\",\"price\":12}\n{\"sku\":\"B\",}\n{\"sku\":\"C\",\"sku\":\"D\"}\n{\"ok\":true}\n",
"maxRecords": 10
}

What the results mean

Each nonblank line is one input record. Blank lines are skipped and uncharged. JSON scalars are accepted as well as objects/arrays. Duplicate object keys and non-finite or overflowing numbers are rejected. Accepted JSON is reserialized, so whitespace/escape formatting and floating-point lexical representation may change. It does not repair rejected input or guarantee lossless arbitrary-precision number handling. Line numbers refer to physical source lines.

Outputs

The default dataset shows line_number, valid, value_type, error. REPORT contains the full result and summary.processed/summary.truncated. Available file records: REPORT, BILLING, VALID.jsonl, REJECTS. Result rows may differ from billed input units.

Pricing

$0.6 per 1,000 inspected input work units ($0.0006 each) at the entry tier. Nonblank source lines, including rejected lines; blank lines and invalid top-level input are free. Per-record rejections are inspected work. There is no run-start or automatic dataset-row event in the configured pricing. Inspect the Pricing tab for tier discounts, and REPORT/BILLING to reconcile inspected units.

Limits and support

Default100 work units, maximum1000; at most10000 supplied records per array; serialized input2millioncharacters. The work cap applies before processing and is reduced by the run spending limit. Truncated output describes only the inspected prefix. No source data is changed, no websites fetched and no third-party API called. Run status alone is not validation: inspect REPORT and per-record errors. Use the Issues tab for support with a run ID and a small non-sensitive example. Never post private credentials.

Who is this for?

Developers checking JSONL files before ingestion. Supply JSON Lines text, download accepted values and inspect rejected source line numbers.

Frequently asked questions

Does this repair invalid JSONL or preserve exact formatting?

No. Invalid lines are exported as rejection evidence rather than repaired. Accepted JSON values are reserialized, so whitespace, escapes and numeric formatting may change. Blank lines are skipped and uncharged.

How do I try it before using my full input?

Open the Input tab, review the prefilled example, and run a small batch with a spending limit. Inspect the dataset and report before increasing the batch. Examples can incur the documented inspection or analysis fee; an execution marked successful can still contain rejected records or incomplete coverage.

Can I use the Actor through an API or on a schedule?

Yes. Use Apify's Actor API or schedules. Keep credentials private and use the documented input fields. The pricing and limits below apply to API runs too.