Skip to content

Commit

Permalink
Update JSON.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wangtianyi2004 authored Dec 25, 2024
1 parent 8686afe commit 113ee85
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ INSERT INTO table_name(id, json_column_name) VALUES (1, '{"k1": "100"}')
14 [123, 456]
```

- When the all special character with '\' such as `'\r'`, `'\t'` appears in JSON, you need to use the replace function to replace `"\"` with `"\\"`, for example, you need replace `"\n"` to `"\\n"`


**Query:**
- Directly select the entire JSON column:
```sql
Expand Down

0 comments on commit 113ee85

Please sign in to comment.