From c996e7447c89c7108d3ba64d17e01fc51aa6be34 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Tue, 23 Jul 2019 21:11:59 -0700 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ea5a6ee..1bfe81e 100644 --- a/README.md +++ b/README.md @@ -462,6 +462,8 @@ A `Meta` struct is totally open-ended. It is described by the **SPEC** as a plac You can specify `NoMetadata` if the part of the document being described should not contain any `Meta`. +If you need to support metadata with structure that is not pre-determined, consider an "Any Codable" type such as that found at https://github.com/Flight-School/AnyCodable. + ### `JSONAPI.Links` A `Links` struct must contain only `Link` properties. Each `Link` property can either be a `URL` or a `URL` and some `Meta`. Each part of the document has some suggested common `Links` to include but generally any link can be included.