Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchun committed Mar 15, 2023
1 parent a2b74d5 commit a25e9b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ Convert current JSON object to XML format.
```

```go
doc, err := jsonquery.Parse(strings.NewReader(s))
if err != nil {
panic(err)
}
fmt.Println(doc.OutputXML())
doc, err := jsonquery.Parse(strings.NewReader(s))
if err != nil {
panic(err)
}
fmt.Println(doc.OutputXML())
```

Output the below XML:
Expand Down Expand Up @@ -315,7 +315,7 @@ Output the below XML:
</root>
```

#### Tests
## XPath Tests

| Query | Matched | Native Value Types | Native Values |
| ------- | -------------| -------- | -------------|
Expand Down

0 comments on commit a25e9b8

Please sign in to comment.