SANJIESAN WORLDJOURNAL / COLLECTIONS / SANJIESAN
SANJIESANTOOLS

SANJIESAN TOOLS / Structured files

Zero, blank and unknown are different answers

A workbook can display an empty cell without explaining why it is empty. When the record moves to another tool, a default value may quietly turn that uncertainty into a statement. Define what the absence means before writing the conversion rule.

Give each field an absence policy

For an invented resource manifest, define an optional note, a count and a reviewed status separately. An empty note may be intentional, while an unknown count must not automatically become zero. MDN’s JSON reference distinguishes strings, numbers, booleans and null among the values JSON can represent. The project still has to decide which representation belongs in each field. Write those decisions in a short dictionary, including whether an omitted field is allowed at all.

Prepare samples with deliberately different meanings

Include a record with a confirmed zero count, another with an unknown count and another that does not use the count field. Give them separate identifiers. Convert them through the proposed route and inspect the actual result. If all three collapse into the same representation, ask how the receiving tool will recover the distinction. Do not solve the problem by inserting a guess; revise the contract or hold the record until the meaning can be preserved.

Check visible labels after import

Read the destination as a viewer rather than only inspecting its raw file. Unknown availability should not display as out of stock, free or ready for delivery unless that is actually supported. For a general asset register, a blank credit should not become an invented author. Keep the field dictionary with the export instructions and test a failed record as well as accepted ones. A precise data representation is useful only if the eventual labels carry the same meaning.

Sources & further reading

LET’S MAKE WHAT COMES NEXT

Have a product, a resource or an idea?

For suppliers, creators and brands. Tell us what you have in mind and where you work.

Start a conversation ↗