Skip to content

Commit

Permalink
Fix a couple of labels and a comment pasto
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Dec 9, 2024
1 parent b631c9b commit 42ae0c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,13 @@ <h2>
</label>
</div>
<div id="output">
<label for="values" title="The values selected from the JSON Input">Query Output</label>
<label for="optIndent">
<label for="optIndent" title ="Pretty print the JSON value">
<input id="optIndent" type="checkbox" checked />
Pretty
</label>
<textarea id="values" title="The JSON against which to execute the Path expression" readonly>[]</textarea>
<label for="values" title="The values selected from the JSON Input">Query Output
<textarea id="values" readonly>[]</textarea>
</label>
</div>
</div>
<footer>
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func execute(query, target string, opts int) string {
return fmt.Sprintf("Error parsing JSON: %v", err)
}

// Parse the SQL jsonpath query.
// Parse the JSONPath query.
p, err := jsonpath.Parse(query)
if err != nil {
return fmt.Sprintf("Error parsing %v", err)
Expand Down

0 comments on commit 42ae0c9

Please sign in to comment.