Dart/Flutter: build_value vs json_serializable

556

Docs mentions:

The json_serializable package allows you to make regular classes serializable by using annotations, whereas the built_value package provides a higher-level way of defining immutable value classes that can also be serialized to JSON.

Share:
556
Dinesh
Author by

Dinesh

Software Engineer

Updated on December 11, 2022

Comments

  • Dinesh
    Dinesh over 1 year

    Wondering what is the different between the dart libraries build_value vs json_serializable ?

    both appears to be doing the same thing.

  • iDecode
    iDecode about 2 years
    Use quotation when copying word to word.