Skip to content

Is there any way to know if the object has changed? #1164

Closed

Description

@Quetzalfir

I would want to use the library to save the settings of my program, the user can modify this settings, but I don't think user change the configuration all the time, so I would want to know if there is a way to know if the object has changed in order to save work and don't have to save the whole object every time.

A new field, the value of a field has changed, things like that.

Activity

  1. nlohmann commented on Jul 16, 2018

    @nlohmann
    Owner

    The diff function should do this job.

  2. Quetzalfir commented on Jul 16, 2018

    @Quetzalfir
    Author

    thanks, that helps, nice library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions