Skip to content

Conversation

@chedieck
Copy link
Collaborator

Related to #774

Description

Allows the parsing of JSON strings.

Test plan

  • If a paybutton is constructed with e.g. op-return='{"my": "customData"}"; we should be able to parse that into an object; that will later be broadcasted as
{
  my: 'customData'
}

... in a paybutton trigger.

  • Also, I've added tests covering (what I thought to be) all the edge cases, if there is any weirdness missing from it please mention it.

@Klakurka Klakurka self-requested a review January 23, 2024 20:16
@Klakurka Klakurka merged commit d950e6b into master Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants