Issue descriptionTM/XML is a great format which simplifies all XML-related code writing. With a format TM/JSON in the spirit of TM/XML all JSON related code writing can be made easier. But not only that, it also becomes fairly simple to import a fine data structure of a topic map into any programming language that supports JSON. This should drop the need to do any manual TM <-> object mapping. With item identifiers in place updates are a charm. Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-14 00:45:31, Robert Cerny
Link,
No reifier
Comment
TM/JSON should allow all single item arrays to be collapsed into the item so that one can write %tm.person.phone.value% instead of %tm.person[0].phone[0].value%. This must be optional so that a developer can avoid the check object/array if he is sure it is one or the other. This soley depends on the context where the document is used.
Created: 2010-08-14 08:24:43, Robert Cerny Modified: 2010-08-14 08:55:25, Robert Cerny
Link,
No reifier
TM/JSON should allow referencing of topics which are not present in the document by using JTM topic references. If an id attribute is put in place (probably a good idea) then there is an additional type of topic reference illustrated by the following example %"id:person23"%.
Created: 2010-08-14 08:28:47, Robert Cerny Modified: 2010-08-14 08:30:42, Robert Cerny
Link,
No reifier
TM/JSON will serialize the type attribute on statements - TM/XML does not. In my opinion it does not do a whole lot of visual damage to the document and simplifies deserialization a great deal also making it context independent. The downside is that the developer can not simply throw a member on a topic.
Created: 2010-08-14 08:39:59, Robert Cerny Modified: 2010-08-14 08:49:19, Robert Cerny
Link,
No reifier
Rejection comment
No need for that.
Created: 2011-11-24 17:54:37, Robert Cerny Modified: 2011-11-24 17:54:37, Robert Cerny
Link,
No reifier
|
Reporting date2010-08-13 Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-13 20:47:23, Robert Cerny
Link,
No reifier
Planned for version
Topincs 4.4.0
Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-13 20:47:23, Robert Cerny
Link,
No reifier
Rejected by
Robert Cerny
Created: 2011-11-24 17:54:52, Robert Cerny Modified: 2011-11-24 17:54:52, Robert Cerny
Link,
No reifier
Work sessions
Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-13 20:47:23, Robert Cerny
Link,
No reifier
Created: 2010-08-14 07:58:29, Robert Cerny Modified: 2010-08-14 07:58:29, Robert Cerny
Link,
No reifier
Affects
Topincs Server (Component)
Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-13 20:47:23, Robert Cerny
Link,
No reifier
Reported by
Robert Cerny
Created: 2010-08-13 20:47:23, Robert Cerny Modified: 2010-08-13 20:47:23, Robert Cerny
Link,
No reifier
Rejection date2011-11-24 Created: 2011-11-24 17:54:37, Robert Cerny Modified: 2011-11-24 17:54:37, Robert Cerny
Link,
No reifier
|