Created
February 21, 2020 17:06
-
-
Save oliverepper/b86ef94ff1dbeffa053642f9aaa6f58e to your computer and use it in GitHub Desktop.
CodableFileBuffer_example.json.txt
This file contains hidden or 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
// after initializing | |
[ | |
// after writing the first codable | |
[{"id":1, "key": "value_one"}, | |
// after writing the second codable | |
[{"id":1, "key": "value_one"},{"id":2, "key": "another_value"}, | |
// the data that gets passed to the JSONDecoder looks like this | |
[{"id":1, "key": "value_one"},{"id":2, "key": "another_value"},] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment