--- In [email protected], Chris Johnson <[EMAIL PROTECTED]> wrote:
> I have been thinking hard to find an implementation I have worked on in 
> the last fifteen years where resolving to a JSON structure rather
than a 
> flat file would have made the job easier. No success so far .....
OK, I'll try and give some points - which are all technical; we are
comparing different techniques; succesful EDI is of course not only
depending on technique ;-)
- JSON is 'self-descriptive': the name of the field is in the file.
This make is easier to read/write for an application because you do
not have to retrieve fields and add a name; you have this all at once. 
- In a translator you do not need to specify the layout of the inhouse
JSON file which just saves work.
- If you add a field or entity in the inhouse file this is easier in
JSON; the added field it does no harm if it is not used in the
application. 
- if a format of a field changes in fixed format, this is quite
cumbersome because all the positions of the field shift (I can not
tell how often I counted positions).


As I said, I have never seen a 'JSON inhouse format'.
But I remember using a odd inhouse format which looked like this:
  $entity1
  fieldname1, contents
  fieldname2, contents
  fieldname3, contents
  $entity2    #can be 'nested' under entity1; similar to fixed format 
  fieldname1, contents
  etc

kind regard,
Henk-Jan Ebbers


The format was quite succesfull; programmers loved it.
> 
> Regards
> Chris




...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to