See here.

Part of the oath:

“I swear to faithfully fulfill the sacred mission of legal workers in socialism with Chinese characteristics. I swear my loyalty to the motherland, to the people, to uphold the leadership of the Communist Party of China and the socialist system, and to protect the dignity of the Constitution and laws.”