marcelog / Nami

Asterisk manager interface (ami) client for nodejs
http://marcelog.github.com/Nami
Apache License 2.0
99 stars 59 forks source link

nodejs: return response as json #49

Closed beqabeqa473 closed 7 years ago

beqabeqa473 commented 7 years ago

hello.

is it somehow possible to return response in json format?

marcelog commented 7 years ago

Hello,

Not currently, but you can use JSON.stringifyand dispatch new events after converting responses/events to JSON.

Best regards!