On 06/23/2009 05:45 PM, Vincent Hanquez wrote:
At this point my personal suggestion would be jsonrpc:
- it's easy to parse (even in C)
- it's text with markup
- easy to generate
- support utf-8
- quoted string
- it's not ugly to read (compare to xml)
- can be embedded directly (no more library dependancy for qemu) in
the code
- lots of language have json library making the interaction with the
monitor
easy from the other side
- supports passing structure
- supports notifications
- supports asynchronous commands
seems quite nice.