jsonb creation functions? - Mailing list pgsql-general

From Larry White
Subject jsonb creation functions?
Date
Msg-id CAMdbzViQj+04NtV5WU6ko0d0hk8hoJYiBaZYyFr_gqGT=uZP=Q@mail.gmail.com
Whole thread Raw
Responses Re: jsonb creation functions?  (Christoph Moench-Tegeder <cmt@burggraben.net>)
List pgsql-general
There is a set of creation functions for json, such as:

 to_json(anyelement)

There doesn't seem to be any equivalent functions for converting text to jsonb. 

Is there a way to do this?

Thanks.

pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Feature proposal and discussion: full-fledged column/function equivalence
Next
From: Tom Lane
Date:
Subject: Re: Re: User-defined operator function: what parameter type to use for uncast character string?