Consider $f: \mathcal P(\mathbb N) \to \{g: \mathbb N \to \{0, 1\}\}$. I'll try to define $f$ in a such a way that it's a bijection.
Cardinality of each element in $\mathcal P(\mathbb N)$ will determine the number of $1$s in a binary string. The value of an element of $X \in \mathcal P(\mathbb N)$ will determine the position of $1$ in a binary string.
By definition(?) of set, each element of $\mathcal P(\mathbb N)$ is unique so every element of $\mathcal P(\mathbb N)$ will be mapped to a unique binary string. This makes $f$ injective.
The string of $0$s is mapped to the empty set and the string of $1$s is mapped to $\mathbb N.$ The rest of the binary strings have at least one $1$. By definition, $f$ maps every $n$-set to a binary string with $n$ $1$s which means $f$ is surjective.
Does such an $f$ work and is it a bijection?
Edit:
I am not asking for a reference to a proof of an existence of $f$. I am just interested if my own thoughts make sense.