
Converting Excel to JSON With Python for Clean Output
Convert an Excel sheet to JSON in Python: records, nested groups and JSON Lines, with typed values, ISO dates, nulls and a check that nothing was lost.
Everything you need to level up your coding skills.

Convert an Excel sheet to JSON in Python: records, nested groups and JSON Lines, with typed values, ISO dates, nulls and a check that nothing was lost.

Let partners add their own data to your XML format safely by giving each extension its own namespace, with a reader that ignores what it does not own.

Text and elements side by side look natural in documents and break data models. How ElementTree and lxml expose text and tail, and what to do instead.

XML cannot hold raw bytes. Base64 adds 33 percent, hex adds 100 percent, and both cost memory. Measured sizes, the schema type, and the alternatives.

Wrapper elements, empty versus absent versus nil, and the one-item list trap when XML becomes JSON, all demonstrated with real parser output.

Version attribute or new namespace? Test results show how strict schemas reject added elements and how an extension point lets old readers keep working.

Attributes suit short identifying values, elements suit everything with structure or long text. A test of the whitespace and ordering rules shows why.

XML names are case sensitive and follow strict character rules. Compare camelCase, snake_case and kebab-case for elements, with the rules that decide.

A practical guide to XML format design: names, attributes, lists, optional data, binary, namespaces and versions, with a tested worked example.

Convert Excel workbooks to CSV, JSON, XML and YAML without losing data: choose a format, read types, dates and headers, then verify with counts and schemas.

A tested guide to comparing XML, from canonical form and keyed record diffs to Git diffs, merges, feed shape checks and schema compatibility.

When Excel says the XML source has no schema, it infers one. What the guess means, why it breaks on optional and repeating data, and how to supply a schema.
We send one email when a new article is published. No spam.