Skip to content

Empty/Null property not found #21

Open

Description

@jmengelle

When i have the following :

a=
b=${a}

I got an error because 'a' property is not found.

I guess it's because null properties are ignored ?
Would be great to add an option for this.

I added this reviver function to avoid the error, by returning and empty string, but it's not really what i want :

reviver: function (key, value, section) {
    if (key != null && value == null) {
        return '';
    } else {
        //Returns all the lines
        return this.assert();
    }
}

Activity

  1. changed the title [-]Empty/Null property[/-] [+]Empty/Null property not found[/+] on Dec 2, 2015
  2. lewisdawson commented on Mar 7, 2016

    @lewisdawson

    I've run into the same issue where I have a blank value in one of my properties. Are there any plans to support this?

  3. Corey600 commented on Aug 31, 2016

    @Corey600

    I have the same issue, too. When I want to set an empty string value, it will be parsed into 'null'. Do you have any plans to fix it ?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions