Skip to content

Unflatten from JSON resets all values when Enum is replaced by Cluster #54

Open

Description

@Xourell

I encountered an issue when using the "Unflatten from JSON" VI.

In a previous version of my JSON structure, one of the keys was associated with an enum. In the new version, that same key is now associated with a cluster.

I expected the Unflatten from JSON VI to convert the remaining keys correctly and set the new cluster to its default values. However, all the values in the resulting structure were set to their defaults, even though some keys were present in the JSON.

Is this the expected behavior, or could this be a bug?

Activity

  1. francois-normandin commented on May 15, 2025

    @francois-normandin
    Collaborator

    @Xourell could you share an example of your cluster/enum, before and after? It might be a bug, but it's hard to tell.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions