Skip to content

Unflatten JSON string truncates string with null character #24

Open

Description

Underneath the JKI JSON utility it uses LV flatten/unflatten from JSON primitive. Unfortunately, the unflatten from JSON primative has a bug that it truncates the input string when it hits null character.

Example:

{
"test":"\u0000\u0001\u0013"
}

This data after unflattened will retun empty string.

Activity

  1. ghost changed the title [-]Unflatten JSON string skipped out non printable characters[/-] [+]Unflatten JSON string truncates string with null character[/+] on Jun 21, 2017
  2. tmaila commented on Jun 22, 2017

    @tmaila
    Contributor

    @ohmymine Did you file a LabVIEW bug with NI? If so, can you please post the CAR number here.

  3. drjdpowell commented on Jun 22, 2017

    @drjdpowell

    I reported the bug last september to NI. It's CAR 605085.

    I also reported CAR 607058: JSON Flattening of EXT floating point only gets precision of SGL floating point values.

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