Commit graph

91 commits

Author SHA1 Message Date
Dave Longley cdce63a99c New port of jsonld.js. 2012-04-23 12:57:06 -04:00
Dave Longley de770b30fd Sort all properties except @id in normalization. 2012-03-04 15:35:44 -05:00
Dave Longley ab71b33c3f Fix error message. 2012-03-04 02:30:35 -05:00
Dave Longley 809a4d31ce Remove duplicate objects when normalizing. 2012-01-16 15:53:49 -05:00
Dave Longley eb7a99a45e Use keyword alias in compact output. 2012-01-12 13:41:23 -05:00
Dave Longley c091c4cc7b Rename @literal to @value, bug fixes, use json-ld.org test-suite. 2012-01-11 22:56:26 -05:00
Dave Longley 9b87179143 Do not do @id expansion for @id/@type even if aliased. 2012-01-11 19:32:30 -05:00
Dave Longley 7d06cd0c92 Convert @subject and @iri to @id. Remove @vocab. 2011-12-19 21:29:11 -05:00
Dave Longley 7124a88b7a Remove expandSubjects option. 2011-12-18 15:14:25 -05:00
Dave Longley 215ceeb331 Use new type coercion format. 2011-12-18 14:43:10 -05:00
Dave Longley aee96b1ec6 Change @datatype to @type. 2011-12-17 21:08:58 -05:00
Dave Longley 31181efa26 Remove unnecessary @type check. 2011-12-17 21:01:13 -05:00
Dave Longley a024be9607 Removed obsolete use of rdf:type. 2011-11-28 23:12:11 -05:00
Dave Longley fb11cb945f Remove dependent dangling embeds. 2011-11-28 22:51:30 -05:00
Dave Longley ac210d60e3 Fixed bugs with replacement embeds. 2011-11-23 20:24:38 -05:00
Dave Longley 7e65429375 Made sort optimization more effective. 2011-11-09 13:58:47 -05:00
Dave Longley af25c067de Added optimization to avoid extra bnode sorting. 2011-11-09 13:02:18 -05:00
Dave Longley ff35e9796f Support @context in frame arrays. 2011-11-09 12:46:03 -05:00
Dave Longley 4eb2832c11 Use @context property with external contexts. 2011-10-28 16:52:05 -04:00
Dave Longley a7206c8331 Added resolve method for @context URLs. 2011-10-27 19:00:01 -04:00
Dave Longley 093e3277d8 Fixed @embed=false bug. 2011-10-20 20:31:38 -04:00
Dave Longley 72482dbe97 Swapped key/value order in @coerce. 2011-10-20 16:46:20 -04:00
Dave Longley 915b154d8c Fixed typos. 2011-10-14 16:24:07 -04:00
Dave Longley c8d381111b Updated to use new framing algorithm. 2011-10-14 15:56:47 -04:00
Dave Longley 3ddfbbfda3 Removed xsd:anyURI usage. 2011-08-25 20:13:47 -04:00
Dave Longley 7e54fc304d Added support for keyword aliasing. 2011-08-22 01:53:12 -04:00
Dave Longley 3d7a5c6c6c Passed merging subjects in normalization test. 2011-08-06 23:56:43 -04:00
Dave Longley be88eaa0c4 Updated to pass tests. 2011-08-06 23:24:17 -04:00
Dave Longley 334cac4986 Cleaned up compact handling of disjoint graphs.
- Simplification of add/remove/etc context methods.
- Removed default context.
2011-08-04 16:33:26 -04:00
Dave Longley a2924c8d2d Removed JSON output from relation serializations. 2011-08-02 23:54:19 -04:00
Dave Longley 5244670fdb Simplified relation serialization format. 2011-08-02 01:49:14 -04:00
Dave Longley a29ea93ffd Passed nulls test. 2011-07-29 16:17:51 -04:00
Dave Longley dbd83f1535 Fixes to pass property CURIE conflict during compact. 2011-07-29 16:02:58 -04:00
Dave Longley 25c62ddac1 Simplified framing default option handling. 2011-07-29 15:34:43 -04:00
Dave Longley 6810f94673 Changed framing so null will not be auto-included in arrays. 2011-07-29 14:38:06 -04:00
Dave Longley 5d03e650ec Added support for framing defaults and fixed property checks. 2011-07-29 14:28:46 -04:00
Dave Longley 4d7d0fa0ae Removed nulls in flatten. 2011-07-29 11:46:23 -04:00
Dave Longley d841bf535c Added fixes to pass latest frame test. 2011-07-25 17:40:17 -04:00
Dave Longley 1e79de1c41 Fixed built-in json number/bool check. 2011-07-18 16:22:57 -04:00
Dave Longley fd37e95a19 Removed old log function. 2011-07-14 00:50:51 -04:00
Dave Longley 8f43a52eb4 Added JSON-LD processor and test runner. 2011-07-14 00:47:40 -04:00