Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

add to_json() function #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add to_json() function #7

wants to merge 1 commit into from

Conversation

c-x
Copy link

@c-x c-x commented Jan 22, 2017

Transform the object to a JSON object making its manipulation easier.

transport = PySerialTransport("/dev/ttyUSB0", debug=False) 
transport.reset()

evt = transport.receive_blocking()
res = evt.to_json()

bfly75 pushed a commit to bfly75/pyRFXtrx that referenced this pull request Apr 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant