Ben Chuanlong Du's Blog

It is never too late to learn.

Commonly Used File Formats for Configuration

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. JSON is more commonly used for application data and configurations
    which are not intended to be read by human directly.

  2. TOML and YAML are more popular for application configurations which are …

Tips on JSON

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Shortcomes of JSON

It is suggested that you avoid using the JSON format! TOML and YAML are better text-based alternatives. If readability is not a concern, a binary serialization format is …

Tips on JSON

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Shortcomes of JSON

It is suggested that you avoid using the JSON format! TOML and YAML are better text-based alternatives. If readability is not a concern, a binary serialization format is …

Serialization and deserialization in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is suggested that you avoid using it . Please refer to Shotcomes of JSON for detailed discussions on this. TOML and YAML …

Hands on the json Module in Python

Tips and Traps

  1. It is suggested that you avoid using JSON for serializing and deserializing data. Please refer to Shotcomes of JSON for detailed discussions on this. TOML and YAML are better text-based alternatives to JSON. If serialization and deserialization is done in Python only, pickle