Is there is a way to read a file line by line and extract JSON data from it?
Example: file: ` value1: {"field1": "123, "field2": "123"} value2: {"field1": "456", "field2": "879"} .... ` I need to extract the struct in a loop: type s struct { field1 string field2 string } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.