… | |
… | |
256 | =item json => JSON or JSON::XS object |
256 | =item json => JSON or JSON::XS object |
257 | |
257 | |
258 | This is the json coder object used by the C<json> read and write types. |
258 | This is the json coder object used by the C<json> read and write types. |
259 | |
259 | |
260 | If you don't supply it, then AnyEvent::Handle will create and use a |
260 | If you don't supply it, then AnyEvent::Handle will create and use a |
261 | suitable one, which will write and expect UTF-8 encoded JSON texts. |
261 | suitable one (on demand), which will write and expect UTF-8 encoded JSON |
|
|
262 | texts. |
262 | |
263 | |
263 | Note that you are responsible to depend on the JSON module if you want to |
264 | Note that you are responsible to depend on the JSON module if you want to |
264 | use this functionality, as AnyEvent does not have a dependency itself. |
265 | use this functionality, as AnyEvent does not have a dependency itself. |
265 | |
266 | |
266 | =item filter_r => $cb |
267 | =item filter_r => $cb |