Skip to content

Handle null values in payload#1

Open
jackcuneo wants to merge 1 commit intocheckr:mainfrom
jackcuneo:patch-1
Open

Handle null values in payload#1
jackcuneo wants to merge 1 commit intocheckr:mainfrom
jackcuneo:patch-1

Conversation

@jackcuneo
Copy link

Original code throws NameError if payload contains nulls. This version sets payload variable as a string, and produces compact JSON by parsing the string to a hash, then the hash to JSON.

Original code throws NameError if payload contains nulls. This version sets payload variable as a string, and produces compact JSON by parsing the string to a hash, then the hash to JSON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant