Is there support for http://json-ld.org/ in servicestack or any plan to add it or has someone found a recommended way to implement it in servicestack?
Nope it’s not built-in, it’s never been requested so there’s no plan to add it:
http://servicestack.uservoice.com/forums/176786-feature-requests
I personally don’t like polluting my existing services and DTO’s with metadata links like this so if I ever needed to impl these types of services I’d create additional services returning bespoke DTO’s. The custom DTO’s would need to use [DataMember(Name="@id")] to be able to return property names with @
prefixes. Depending on the use-case I may even consider adding a custom media type, e.g: http://northwind.servicestack.net/vcard-format.htm
Chris Gilligan:
Thanks for the response just thought there may be a way to do it as a format and attributes like how XML is done