Open RawanMostafa08 opened 2 months ago
Create an INI parser
Can get inspired by configparser
LoadFromString
LoadFromFile
GetSectionNames
GetSections
{ section_name: {key1: val1, key2, val2} ...}
Get(section_name, key)
key
section_name
Set(section_name, key, value)
value
ToString
SaveToFile
=
Create an INI parser
expected API/methods on the parser
Can get inspired by configparser
LoadFromString
LoadFromFile
GetSectionNames
list of all section namesGetSections
serialize convert into a dictionary/map{ section_name: {key1: val1, key2, val2} ...}
Get(section_name, key)
gets the value of keykey
in sectionsection_name
Set(section_name, key, value)
sets akey
in sectionsection_name
to valuevalue
ToString
SaveToFile
deliverables
remarks
=