(path string)
| 198 | } |
| 199 | |
| 200 | func isFormatJSONPath(path string) bool { |
| 201 | if strings.TrimSpace(path) == "" { |
| 202 | return false |
| 203 | } |
| 204 | var format sheets.CellFormat |
| 205 | |
| 206 | return forceSendJSONField(&format, path) == nil |
| 207 | } |
| 208 | |
| 209 | func forceSendJSONField(root any, jsonPath string) error { |
| 210 | parent, fieldValue, fieldName, err := resolveJSONField(root, jsonPath) |
no test coverage detected