You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/12/30 21:26:13 UTC

[jira] [Updated] (HTRACE-31) more JSON serialization fixes

     [ https://issues.apache.org/jira/browse/HTRACE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HTRACE-31:
---------------------------------------
    Description: 
More JSON serialization fixes

* Do not quote numeric time fields (they should be less than 55 bits)
* Use jackson for JSON serialization, not an ancient version of jetty
* Implement JSON deserialization as well as serialization in htrace-core
* Shorten "time" and "msg" fields to "t" and "m" in TimelineAnnotation
* fix ToString method that was using "%08x" rather than "%016x"
* REST methods should take hex values for span IDs, not decimal
* Add TestMilliSpan to test round-tripping JSON in htrace-core

  was:
More JSON serialization fixes

* Do not quote numeric time fields (they should be less than 55 bits)
* Use jackson for JSON serialization, not an ancient version of jetty
* Implement JSON deserialization as well as serialization in htrace-core
* Shorten "time" and "msg" fields to "t" and "m" in TimelineAnnotation
* fix ToString method that was using "%08x" rather than "%016x"
* REST methods should take hex values for span IDs, not decimal


> more JSON serialization fixes
> -----------------------------
>
>                 Key: HTRACE-31
>                 URL: https://issues.apache.org/jira/browse/HTRACE-31
>             Project: HTrace
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>
> More JSON serialization fixes
> * Do not quote numeric time fields (they should be less than 55 bits)
> * Use jackson for JSON serialization, not an ancient version of jetty
> * Implement JSON deserialization as well as serialization in htrace-core
> * Shorten "time" and "msg" fields to "t" and "m" in TimelineAnnotation
> * fix ToString method that was using "%08x" rather than "%016x"
> * REST methods should take hex values for span IDs, not decimal
> * Add TestMilliSpan to test round-tripping JSON in htrace-core



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)