GIMIC 1.0.0
dotnet add package GIMIC --version 1.0.0
NuGet\Install-Package GIMIC -Version 1.0.0
<PackageReference Include="GIMIC" Version="1.0.0" />
paket add GIMIC --version 1.0.0
#r "nuget: GIMIC, 1.0.0"
// Install GIMIC as a Cake Addin #addin nuget:?package=GIMIC&version=1.0.0 // Install GIMIC as a Cake Tool #tool nuget:?package=GIMIC&version=1.0.0
GIMIC
GIMIC Isn't Markup It's Configuration
8 STEP SPEC:
- A GIMIC file is a newline delimitted list of key-value pairs.
- Everything before the first colon in a line is the key.
- Everything after the first colon in a line is the value.
- Leading and trailing tabs and spaces of keys and values are always stripped.
- Starting your value with a newline and at least one more tab than the previous line started with creates a 'map' value which is itself a newline delimitted list of key-value pairs.
- A newline that starts with at least one less tab than the previous line started with closes the last map that was created that is still open.
- Putting commas in your value creates a comma-separated list of values. Note that since this is a list of values and not a list of key-value pairs, a list cannot contain a map.
- Putting two back-ticks (``) before and after anything means "Ignore all the other rules". Then the pairs of back-ticks are stripped.
EASY TO READ:
Name: Jane Smith
Dependants: Jim Smith, Jenny Smith, Jared Smith
Address:
City: ``Omaha, NE``
Street: 1234 N Wonder Rd.
Apt: 87654
Phone Number: 555-1234
Date Joined: 2019/01/31T15:00:00-6
Days of vacation accrued: 14.5
Days of vacation used: 8
Administrative Metadata: ``{"username":"smijan01", "org":"Data Processing"}``
EASY TO PARSE:
- Parse the GIMIC document following the 8 step spec above.
- To GIMIC, the keys and values are just strings, but you can parse them further into whatever you like however you like.
- Store the parsed keys and values into your favorite dictionary, map, or object data structure.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 520 | 7/12/2020 |
GIMIC
=====
GIMIC
Isn't
Markup
It's
Configuration
8 STEP SPEC:
------------
1. A GIMIC file is a newline delimitted list of key-value pairs.
2. Everything before the first colon in a line is the key.
3. Everything after the first colon in a line is the value.
4. Leading and trailing tabs and spaces of keys and values are always stripped.
6. Starting your value with a newline and at least one more tab than the previous line started with
creates a 'map' value which is itself a newline delimitted list of key-value pairs.
7. A newline that starts with at least one less tab than the previous line started with closes the last map that was created that is still open.
5. Putting commas in your value creates a comma-separated list of values. Note that since this is a list of values and not a list of key-value pairs, a list cannot contain a map.
8. Putting two back-ticks (``) before and after anything means "Ignore all the other rules". Then the pairs of back-ticks are stripped.
EASY TO READ:
-------------
```
Name: Jane Smith
Dependants: Jim Smith, Jenny Smith, Jared Smith
Address:
City: ``Omaha, NE``
Street: 1234 N Wonder Rd.
Apt: 87654
Phone Number: 555-1234
Date Joined: 2019/01/31T15:00:00-6
Days of vacation accrued: 14.5
Days of vacation used: 8
Administrative Metadata: ``{"username":"smijan01", "org":"Data Processing"}``
```
EASY TO PARSE:
--------------
1. Parse the GIMIC document following the 8 step spec above.
3. To GIMIC, the keys and values are just strings, but you can parse them further into whatever you like however you like.
2. Store the parsed keys and values into your favorite dictionary, map, or object data structure.