What is this file format called
You could simply read in the entire file and then convert =
to :
and each line break with ,
- then you could parse it with an existing json library. Perhaps you would have to insert a ;
at the end of the data.