Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor dictionary properties #109
re-factor the file properties (header parts of a keyvi file to store entry points, type information etc.) into 2 property classes (for the FSA part and the value part), both for reading and writing.
json parsing/writing now uses rapidjson instead of boost property trees.
The re-factored code is now writing the same way as property trees, meaning it writes all numbers as strings. Looks ugly but keeps backwards compatibility, which is more important. It would be a good idea to avoid this string conversion, but if we do, we should revisit the whole format.
I plan to implement some more tests before this is ready.