Skip to content

Commit c153dc7

Browse files
committed
Format JSON string in usage example for better readability
1 parent 29980a9 commit c153dc7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ JQSharp exposes a minimal API surface via the `Jq` static class in the `Devloope
3333
using System.Text.Json;
3434
using Devlooped;
3535

36-
using var doc = JsonDocument.Parse("""{"name":"Alice","age":30}""");
36+
using var doc = JsonDocument.Parse(
37+
"""
38+
{"name":"Alice","age":30}
39+
""");
3740

3841
// Returns an IEnumerable<JsonElement> with the matching results
3942
var results = Jq.Evaluate(".name", doc.RootElement);

0 commit comments

Comments
 (0)