Pattern AST
  
           | $optional pending
          P|   {.space}
          '|   *pending*
           | end
  
MatchOptional    (name: pending, scalar)
    MatchLiteral ' '
    MatchLiteral '*pending*'
Input String Captured JSON

      
{
  "pending": ""
}
Pattern AST
  
           | $optional pending
          P|   {.space}
          '|   *pending*
           | end
  
MatchOptional    (name: pending, scalar)
    MatchLiteral ' '
    MatchLiteral '*pending*'
Input String Captured JSON
 *pending*
{
  "pending": " *pending*"
}

This HTML fragment was automatically generated from the test cases for JSON Pattern.