Pattern AST
  
           | $optional pending
          P|    \*pending\*
           | end
  
MatchOptional    (name: pending, scalar)
    MatchRegex '\\*pending\\*'
Input String Captured JSON

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

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