On my way down to RubyConf Argentina I wrote these few lines of code to parse the Objective-C header generated by the sdef/sdp commands into a Ruby object that I then dump to JSON.
Usage:
$ ./bridgesupport_doc_parser.rb ~/tmp/inDesign.h
Feel free to build whatever you want with this (very basic) code, in theory, it shouldn't be hard to write a small app showing the API provided by a 3rd party app.
- Matt