(json string)
| 598 | } |
| 599 | |
| 600 | func tolit(json string) (raw string) { |
| 601 | for i := 1; i < len(json); i++ { |
| 602 | if json[i] < 'a' || json[i] > 'z' { |
| 603 | return json[:i] |
| 604 | } |
| 605 | } |
| 606 | return json |
| 607 | } |
| 608 | |
| 609 | func tostr(json string) (raw string, str string) { |
| 610 | // expects that the lead character is a '"' |
no outgoing calls
no test coverage detected
searching dependent graphs…