-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cosmetic preparations and bug-fixing before the 0.2.6 release (#57)
### What's done: - Changed the API and public API names - Fixed bugs related to Array parsing - Changed the decoding logic: beginStructure - Updated the readme and added more test examples
- Loading branch information
Showing
18 changed files
with
569 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/KtomlConf.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.akuleshov7.ktoml | ||
|
||
/** | ||
* @property ignoreUnknownNames - a control to allow/prohibit unknown names during the deserialization | ||
* @property emptyValuesAllowed - a control to allow/prohibit empty values: a = # comment | ||
*/ | ||
data class KtomlConf( | ||
val ignoreUnknownNames: Boolean = false, | ||
val emptyValuesAllowed: Boolean = true | ||
) |
Oops, something went wrong.