Pattern AST
  
           | $value @ | int
          P|   \d+
           | end
  
MatchValue    (name: @, filter: int, scalar)
    MatchRegex '\\d+'
Input String Captured JSON
1234 
1234
Pattern AST
  P| { \d+ | int}
MatchValue    (anonymous, filter: int, scalar)
    MatchRegex '\\d+'
Input String Captured JSON
56 
56

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