ParseIntoString parses a strvals line and merges the result into dest. This method always returns a string as the value.
(s string, dest map[string]any)
| 99 | // |
| 100 | // This method always returns a string as the value. |
| 101 | func ParseIntoString(s string, dest map[string]any) error { |
| 102 | scanner := bytes.NewBufferString(s) |
| 103 | t := newParser(scanner, dest, true) |
| 104 | return t.parse() |
| 105 | } |
| 106 | |
| 107 | // ParseJSON parses a string with format key1=val1, key2=val2, ... |
| 108 | // where values are json strings (null, or scalars, or arrays, or objects). |
searching dependent graphs…