Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Rename boolean json name checking function to the opposite
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Aug 8, 2014
1 parent baa9451 commit af4a08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/structure.sh
Expand Up @@ -50,7 +50,7 @@ def isAlpha:
def isAlphanumeric:
isWhitelisted(alphanumericLookup);
def isValidJsonShorthandPropertyName:
def isNotValidJsonShorthandPropertyName:
(.[0:1] | isAlpha | not) or (isAlphanumeric | not);
[
Expand All @@ -60,7 +60,7 @@ def isValidJsonShorthandPropertyName:
"[]"
else
tostring
| if isValidJsonShorthandPropertyName then
| if isNotValidJsonShorthandPropertyName then
"[\\"\\(.)\\"]"
else
.
Expand Down

0 comments on commit af4a08c

Please sign in to comment.